package com.example.learnnacos.clients.svc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(name = "server-c")
public interface HelloClient {

    @GetMapping("/hello/time")
    Map<String, Object> callHello();
}
